<template>
  <div class="loginpage">
    <div class="head">欢迎使用黄冈数理化AI人工智能教育平台</div>
    <div class="loginform">
<!-- el-icon-lock -->
      <div class="title">用户登录</div>
      <div class="username">
        <i class="el-icon-user useri"></i>
        <input type="text" v-model="form.username">
      </div>
      <div class="password">
        <i class="el-icon-lock pswdi"></i>
        <input type="password"  v-model="form.username">
      </div>
      <div class="checkbox">
        <el-checkbox v-model="checked" text-color="#ffffff" style="color:#fff;">记住密码</el-checkbox>
        <span>忘记密码</span>
      </div>
      <div class="subtn">登录</div>
    </div>
  </div>
</template>
<script>
export default {
  data(){
    return{
      form:{
        username:'',
        password:''
      },
      checked:false,
      loading:true
    }
  }
}
</script>
<style lang="less" scoped>
  .loginpage{
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background: url('/static/image/loginng.gif') no-repeat;
    background-size:100% 100%;
    background-position: center;
    position: relative;
    .head{height: 70px;line-height: 5px;padding-left: 40px;padding-top: 30px; left: 0;top:0;color: #fff;font-size: 24px;background-color: rgba(0,0,0,0.4);}
    .loginform{
      width: 400px;
      height: 400px;
      padding: 0 40px;
      margin: 150px auto;
      border: 2px solid aqua;
      border-radius: 3px;
      padding-top: 50px;
      box-sizing: border-box;
      background-color: rgba(0,0,0,0.1);
      .title{
        width: 100%;
        text-align: center;
        font-size: 20px;
        line-height: 20px;
        color: #fff;
        margin-bottom: 30px;
      }
      .username{
        width: 100%;
        border: 1px solid aqua;
        height: 40px;
        line-height: 40px;
        padding-left: 10px;
        display: flex;
        margin-bottom: 20px;
        border-radius: 3px;
        input{
          flex: 1;
          height: 100%;
          font-size: 16px;
          line-height: 40px;
          border: none;
          outline: none;
          color: aqua;
          background-color: rgba(0,0,0,0.1)!important;
        }
        .useri{
          width: 40px;
          line-height: 40px;
          font-size: 20px;
          color: aqua;
        }
      }
      .password{
        padding-left: 10px;
        width: 100%;
        height: 40px;
        border: 1px solid aqua;
        display: flex;
        margin-bottom: 20px;
        border-radius: 3px;
        input{
          font-size: 16px;
          flex: 1;
          height: 100%;
          line-height: 40px;
          border: none;
          outline: none;
          background-color: rgba(0,0,0,0.1)!important;;
          color: aqua;
        }
        .pswdi{
          width: 40px;
          line-height: 40px;
          font-size: 20px;
          color: aqua;
        }
      }
      .checkbox{
        width: 100%;
        display: flex;
        justify-content: space-between;
        color:#fff;
        margin-bottom: 40px;
      }
      .subtn{
        cursor: pointer;
        width: 100%;
        height: 40px;
        line-height: 40px;
        text-align: center;
        color: #fff;
        border-radius: 3px;
        background-color: aqua;
        border: 1px solid aqua;
      }
    }
  }
</style>
